def fib(max):
	n,a,b=0,0,1
	while n<max:
		print(b)
		a,b = b,a+b
		n=n+1
	return 

def odd():
	print('step1')
	yield 1
	print('step2')
	yield(3)
	print('step3')
	yield(5)

def createCounter():
    def counter():
        a = 0
        a=a+1
        return a
    return counter
